$color: #666;
$md-link-color: #1890ff;

.halo-comment {
  position: relative;
  font-family: PingFang SC, Hiragino Sans GB, Microsoft YaHei, STHeiti, WenQuanYi Micro Hei, Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  margin: 0 auto;
  color: #313131;
  overflow: hidden;
  zoom: 1;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  a {
    text-decoration: none;
    color: $color;
  }

  input::-webkit-input-placeholder,
  textarea::-webkit-input-placeholder {
    color: #cccccc
  }

  * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }

  a,
  abbr,
  acronym,
  address,
  applet,
  big,
  blockquote,
  body,
  caption,
  cite,
  code,
  dd,
  del,
  dfn,
  div,
  dl,
  dt,
  em,
  fieldset,
  figure,
  form,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  html,
  iframe,
  ins,
  kbd,
  label,
  legend,
  li,
  object,
  ol,
  p,
  pre,
  q,
  s,
  samp,
  small,
  span,
  strike,
  strong,
  sub,
  sup,
  table,
  tbody,
  td,
  tfoot,
  th,
  thead,
  tr,
  tt,
  ul,
  var {
    border: 0;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
  }

  button,
  input,
  textarea {
    -webkit-appearance: none;
    outline: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  }

  button:focus,
  input:focus,
  textarea:focus {
    outline: none;
  }

  ol,
  ul {
    list-style: none;
  }

  .comment-count {
    margin-bottom: 15px;
  }

  .comment-reply-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .middle {
    display: inline-block;
    vertical-align: middle
  }

  .avatar {
    display: block;
    object-fit: cover;
    border-radius: 20%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.8s;
    border: 1px #e1e1e1 solid;
    box-shadow: 2px 2px 3px #e1e1e1;
  }

  span.input-avatar {
    display: block;
    position: absolute;
    left: 20px;
    bottom: 0px;

    img.avatar-img {
      width: 22px;
      height: 22px;
      border-radius: 100%;
      cursor: pointer;
      transition: all 0.8s;
    }
  }

  .comment-editor {
    position: relative;
    z-index: 1;
    animation: top20 500ms;

    .inner {
      margin: auto;
      padding: 40px 0 0;
    }
  }

  .comment-form {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
  }

  .comment-form input,
  .comment-form textarea {
    box-shadow: none;
    resize: vertical;
    font-size: 14px;
    line-height: 20px;
    padding: 6px 12x;
    background: #fff;
    border: none;
    box-sizing: border-box;
    border-radius: 0;
    color: #333;
    outline: none;
    -webkit-appearance: none;
  }

  .comment-form input:focus,
  .comment-form textarea:focus {
    border-color: #cccccc;
  }

  .comment-input#author {
    padding-left: 40px;
  }

  .author-info {
    position: relative;
    overflow: hidden;
    margin: 0 -10px 15px;

    .commentator {
      position: relative;
      float: left;
      padding: 0 10px;
      width: 33.333333%;

      label {
        font-weight: 400;
        display: inline-block;
        max-width: 100%;
        margin-bottom: 5px;

        span {
          color: #f05050;
          box-sizing: border-box;
        }
      }

      input {
        font-size: 12px;
        width: 100%;
        padding: 6px 12px;
        border: 1px solid #ccc;
        border-color: rgba(135, 150, 165, .15);
        color: inherit;
        border-radius: 2px;
      }

      input#authorUrl {
        margin: 0;
      }
    }
  }

  .comment-textarea {
    position: relative;
    width: 100%;

    label {
      font-weight: 400;
      display: inline-block;
      max-width: 100%;
      margin-bottom: 5px;

      span {
        color: #f05050;
        box-sizing: border-box;
      }
    }

    .comment-preview {
      background: url('https://www.unpkg.com/halo-comment-yu@latest/cdn/img/background/comment_bg.webp') 100% 100% no-repeat;
      background-color: #fff;
      border: 1px #efefef solid;
      border-radius: 2px;
      background-size: 180px;
      font-size: 14px;
      line-height: 18px;
      width: 100%;
      min-height: 120px;
      color: #000;
      overflow: hidden;
      overflow-wrap: break-word;
      transition: all 0.25s ease-in-out 0s;
      resize: none;
      font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
    }

    .comment-preview.markdown-body {
      background-image: none;
    }

    textarea:focus {
      background-position-y: 105px;
      transition: all 0.25s ease-in-out 0s;
    }
  }

  .comment.index-1 > ol.children {
    padding-left: 50px;
  }


  .children {
    img.avatar {
      width: 2.225em;
      height: 2.225em;
    }

    .contain-main {
      margin-left: 43px;
    }

    .comment-time {
      margin-top: 3px;
    }
  }

  .comment-preview {
    position: relative;
    width: 100%;
    min-height: 90px;
    box-shadow: none;
    border: 1px solid #e1e8ed;
    border-radius: 5px;
    box-sizing: border-box;
    padding: 6px 12px;
    overflow-wrap: break-word;

    img {
      max-width: 100px;
      max-height: 100px;
    }
  }

  .comment-preview.isPreview {
    &:after {
      content: "预览模式";
      position: absolute;
      right: 5px;
      bottom: 5px;
      opacity: 0.2;
      font-size: 20px;
      background: white;
      border-radius: 5px;
    }

    img.vemoji {
      max-width: 20px !important;
    }
  }

  .comment-emoji-wrap {
    margin-bottom: 15px;
  }

  .comment-buttons {
    font-size: 12px;
    text-align: right;
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;

    &.SubmitBtn {
      margin-bottom: 15px;
    }

    .comment-text {
      user-select: none;
    }

    .button-submit,
    .button-preview-edit {
      color: #fff;
      border: none;
      background: #448bff linear-gradient(45deg, #448bff, #44e9ff);
      padding-top: 6px;
      padding-bottom: 6px;
      transition: all .2s ease;
      border-radius: 50px;
      padding-left: 30px;
      padding-right: 30px;
      cursor: pointer;

      &:hover {
        color: #f4f4f4;
        opacity: .8;
        transition: all .2s ease;
      }
    }

    .preview-btn, .emoji-btn {
      display: inline-block;
      padding: 0;
      width: 66px;
      height: 24px;
      border-radius: 4px;
      position: relative;
      z-index: 101;
      font-size: 12px;
      text-align: center;
      line-height: 23px;
      margin-top: 3px;
      cursor: pointer;
      color: #99a2aa;
      fill: #99a2aa;

      .comment-icon {
        vertical-align: -3px;
        margin-right: 4px;
      }

      &.actived {
        color: #66b1ff;
        fill: #66b1ff;
      }
    }
  }

  .comment-loader-container {
    animation: top20 500ms;
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    margin: 30px 0;

    .comment-loader-default {
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      justify-content: space-between;
      width: 30px;

      span {
        width: 4px;
        height: 15px;
        background-color: #898c7b;

        &:nth-of-type(1) {
          animation: grow 1s -0.45s ease-in-out infinite;
        }

        &:nth-of-type(2) {
          animation: grow 1s -0.3s ease-in-out infinite;
        }

        &:nth-of-type(3) {
          animation: grow 1s -0.15s ease-in-out infinite;
        }

        &:nth-of-type(4) {
          animation: grow 1s ease-in-out infinite;
        }
      }

      @keyframes grow {

        0%,
        100% {
          transform: scaleY(1);
        }

        50% {
          transform: scaleY(2);
        }
      }
    }

    .comment-loader-circle {
      border: 3px solid #898c7b;
      border-top-color: #fff;
      border-radius: 50%;
      width: 2.5em;
      height: 2.5em;
      animation: spin 0.7s linear infinite;

      @keyframes spin {
        to {
          transform: rotate(360deg);
        }
      }
    }

    .comment-loader-balls {
      width: 3.5em;
      display: flex;
      flex-flow: row nowrap;
      align-items: center;
      justify-content: space-between;

      div {
        width: 0.7em;
        height: 0.7em;
        border-radius: 50%;
        background-color: #898c7b;
        transform: translateY(-100%);
        animation: wave 0.7s ease-in-out alternate infinite;

        &:nth-of-type(1) {
          animation-delay: -0.4s;
        }

        &:nth-of-type(2) {
          animation-delay: -0.2s;
        }
      }

      @keyframes wave {
        from {
          transform: translateY(-100%);
        }

        to {
          transform: translateY(100%);
        }
      }
    }
  }

  .comment-nodes {

    animation: top20 1000ms;

    position: relative;

    .comment-editor {
      animation: bottom20 500ms;

      .inner {
        padding: 7px 0 12px;
      }
    }
  }

  .comment-load-button {
    margin: 30px 0;
    text-align: center;
  }

  .comment-empty {
    margin: 30px 0;
    text-align: center;
    color: #8899a6;
  }

  .comment-page {
    text-align: center;
    margin-top: 25px;

    .page {
      display: inline-block;
      padding: 0;
      margin: 0;

      li {
        display: inline;
      }

      a {
        position: relative;
        font-size: inherit;
        font-family: inherit;
        padding: 5px 10px;
        border: none;
        border-top: 1px solid #d9d9d9;
        border-bottom: 1px solid #d9d9d9;
        cursor: pointer;
        transition: all 0.8s;
        font-weight: normal;
        color: #111;
        background-color: #fff;
      }

      .prev-button {
        border-radius: 4px 0 0 4px;
        border-left: 1px solid #d9d9d9;
        padding: 5px 7px;
      }

      .next-button {
        border-radius: 0 4px 4px 0;
        border-right: 1px solid #d9d9d9;
        padding: 5px 7px;
      }

      svg {
        vertical-align: middle;
      }

      a.active {
        border-color: #111;
        background: #111;
        color: #fff;
      }
    }
  }

  .comment-nodes .index-1 {
    overflow: hidden;
    padding-bottom: 10px;
  }

  .comment-nodes li:last-child {
    border: 0;
  }

  .comment-nodes .commentator a:after,
  .comment-nodes .commentator a:before {
    display: none;
  }

  .comment-body {
    position: relative;
    margin: 0 auto;
    padding: 0;
  }

  .comment-avatar {
    position: relative;
    z-index: 1;
    float: left;
    padding: 0;
  }

  .contain-main {
    margin-left: 50px;
  }

  .comment-meta {
    line-height: 1;

    .useragent-info {
      font-size: 10px;
      color: #b3b3b3;
    }

    @media only screen and (max-width: 768px) {
      .useragent-info {
        //display: block;
      }
    }

  }

  .comment-author {
    font-size: 14px;

    .author-name {
      font-size: 16px;
      font-weight: 700;
      margin-right: 6px;
    }

    .is-admin {
      display: inline-flex;
      cursor: pointer;
      font-size: 20px;
      color: #fff;
      border-radius: 3px;
      margin: 0 -2px -5px -10px;
      padding: 2px 6px;
      background: #fb7299;
      justify-content: center;
      -webkit-justify-content: center;
      align-items: center;
      -webkit-align-items: center;
      vertical-align: bottom;
      transform: scale(0.5);
    }
  }

  .comment-time {
    display: block;
    margin-top: 11px;
    font-size: 10px;
    color: #b3b3b3;
  }

  .comment-id {
    display: block;
    float: right;
    margin-top: 6px;
    font-size: 12px;
    color: #657786;
  }

  .comment-content {
    padding-bottom: 10px;
    font-size: 14px;
    color: #4a5568;

    p {
      margin: 0;

      img {
        max-width: 100px;
        max-height: 100px;
      }
    }

    img.vemoji {
      max-width: 20px !important;
    }
  }

  .comment-content.markdown-body a {
    color: $md-link-color;
  }

  .comment-info {
    margin-bottom: 15px;

    .comment-reply {
      cursor: pointer;
      font-size: 12px;
      padding: 1px 5px;
      border-radius: 3px;
      line-height: 1.5;
      color: #dcf2f8;
      background-color: #23b7e5;
      font-weight: 700;
      border-radius: .25em;
      line-height: 1;
      padding: .2em .6em .3em;
      transition: all .2s ease-in-out;
    }
  }

  .comment-alert {
  }

  .comment-pre-content {
    padding: 7px;
    -webkit-box-shadow: 0 0 1px #f0f0f0;
    box-shadow: 0 0 1px #f0f0f0;
  }

  .alert {
    display: flex;
    display: -webkit-flex;
    animation: top20 500ms;
    border-radius: 4px;
    padding: 8px 16px;
    background-color: #f44336;
    color: white;
    opacity: 1;
    transition: opacity 0.6s;
    margin-top: 10px;
    justify-content: space-between;
    -webkit-justify-content: space-between;
    align-items: center;
    -webkit-align-items: center;

    &.success {
      background-color: #4caf50;
    }

    &.info {
      background-color: #2196f3;
    }

    &.warning {
      background-color: #ff9800;
    }

    .closebtn {
      color: #fff;
      font-weight: bold;
      font-size: 22px;
      line-height: 22px;
      cursor: pointer;
      transition: 0.3s;

      &:hover {
        color: black;
      }
    }
  }

  @keyframes top20 {
    0% {
      opacity: 0;
      transform: translateY(-20px)
    }

    100% {
      opacity: 1;
      transform: translateY(0)
    }
  }

  @keyframes bottom20 {
    0% {
      opacity: 0;
      transform: translateY(20px)
    }

    100% {
      opacity: 1;
      transform: translateY(0)
    }
  }

  // Emoji Picker Style
  #EmojiPicker {
    font-family: Noto, Twemoji, NotomojiColor, Notomoji, Symbola, sans-serif;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
    width: 100%;
    user-select: none;

    #Categories {
      display: flex;
      width: 100%;
      flex-direction: row;
      align-items: center;
      border-bottom: 1px solid #e4e4e4;
      background: #f0f0f0;
      color: white;
    }

    .category {
      flex: 1;
      padding-top: 5px;
      padding-bottom: 5px;
      text-align: center;
      cursor: pointer;

      &.active {
        border-bottom: 3px solid #009688;
        filter: saturate(3);
        padding-bottom: 2px;
      }

      & > img {
        width: 22px;
        height: 22px;
      }

      &:hover {
        filter: saturate(3);
      }
    }

    #InputSearch {
      display: block;
      width: 100%;
      max-width: 100%;
    }

    .container-search {
      display: block;
      justify-content: center;
      box-sizing: border-box;
      width: 100%;
      margin: 5px 0;
      padding: 0 5%;

      input {
        width: 100%;
        font-size: 14px;
        padding: 8px;
        box-sizing: border-box;
        border-radius: 4px;
        background: #f6f6f6;
        color: #4a4a4a;
        border: 1px solid #e2e2e2;
      }
    }

    #Emojis {
      display: block;
      width: 100%;
      max-width: 100%;

      // Custom Scroll
      ::-webkit-scrollbar {
        border-radius: 4px;
        width: 4px;
        background: #7c7c7c5b;
      }

      ::-webkit-scrollbar-track {
        border-radius: 4px;
      }

      ::-webkit-scrollbar-thumb {
        border-radius: 4px;
        background: #00000038;

        &:hover {
          background: #00000062;
        }
      }
    }

    .container-emoji {
      overflow-x: hidden;
      overflow-y: scroll;
      -webkit-overflow-scrolling: touch;
      max-height: 200px;
    }

    .category-title {
      text-transform: uppercase;
      font-size: 0.8em;
      color: #848484;

      &:not(:first-of-type) {
        padding: 10px 0 0 16px;
      }
    }

    .grid-emojis {
      display: flex;
      flex-wrap: wrap;
      justify-content: flex-start;
      margin: 5px 0 0 0;
      align-items: flex-start;
    }

    .emoji {
      display: inline-block;
      text-align: center;
      font-size: 16px;
      padding: 5px 10px;
      cursor: pointer;
    }

    #VSvg {
      display: inline-block;
      vertical-align: middle;
    }
  }

  .vemoji {
    max-width: 25px !important;
    vertical-align: text-bottom;
    margin: 0 1px;
    display: inline-block;
  }

  .edition {
    float: right;
    color: #999;
    font-size: .75em;
    padding: .5em 0 0;
  }
}

.dark-mode {
  input, textarea {
    background-color: #232125 !important;
    color: #a9a9b3 !important;
    border: none !important;
  }

  img {
    filter: brightness(0.6) !important;
  }

  .comment-form {
    border-radius: 0;
  }

  .comment-pre-content {
    background-color: #232125 !important;

    .markdown-body {
      color: #a9a9b3 !important;
    }

    box-shadow: none !important;
  }

  .comment-content {
    background-color: #292a2d !important;
    color: #a9a9b3 !important;
    border: none !important;
  }

  .comment-preview {
    background-color: #232125 !important;
    color: #a9a9b3 !important;
    border: none !important;
  }

  .comment-buttons {
    .preview-btn {
      background: none !important;
    }
  }

  .comment-nodes .index-1 {
    border-bottom: 3px solid #36393c;
  }

  .comment-page {
    border-top: 3px solid #36393c;
  }

  .comment-page .page button {
    background-color: #676a6c;
    color: #fff;
    border: 1px solid #676a6c;
  }
}

@media (max-width: 991px) {
  .halo-comment {
    .author-info {
      .commentator-author,
      .commentator-email {
        width: 50%;
        margin-bottom: 15px;
      }

      .commentator-authorUrl {
        width: 100%;
        margin-bottom: 15px;
      }
    }
  }
}

@media (max-width: 580px) {
  .halo-comment {
    .author-info {
      .commentator {
        width: 100%;
        margin-bottom: 15px;
      }
    }

    .useragent-info {
      display: block;
      margin-top: 10px;
    }

    .comment-meta > .comment-info {
      margin-bottom: 10px;
    }

    .comment-time {
      margin-top: 10px;
    }

    .children {
      .useragent-info {
        margin-top: 2px;
      }

      .comment-time {
        margin-top: 10px;
      }
    }
  }
}

@font-face {
  font-family: octicons-link;
  src: url(data:font/woff;charset=utf-8;base64,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) format('woff');
}

.markdown-body {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  color: #24292e;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-size: 16px;
  line-height: 1.5;
  word-wrap: break-word;

  .octicon {
    display: inline-block;
    fill: currentColor;
    vertical-align: text-bottom;
  }

  .anchor {
    float: left;
    line-height: 1;
    margin-left: -20px;
    padding-right: 4px;

    &:focus {
      outline: none;
    }
  }

  details {
    display: block;

    summary {
      cursor: pointer;
    }
  }

  summary {
    display: list-item;
  }

  a {
    background-color: transparent;
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }

    &:not([href]) {
      color: inherit;
      text-decoration: none;
    }
  }

  strong {
    font-weight: inherit;
    font-weight: bolder;
    font-weight: 600;
  }

  h1 {
    font-size: 2em;
    margin: .67em 0;
    font-size: 32px;
    font-size: 2em;
  }

  img {
    border-style: none;
    box-sizing: content-box;
    max-width: 100%;
  }

  hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #dfe2e5;
    height: 0;
    margin: 15px 0;
    overflow: hidden;
    background-color: #e1e4e8;
    border: 0;
    height: .25em;
    margin: 24px 0;
    padding: 0;
    border-bottom-color: #eee;

    &:before {
      content: "";
      display: table;
    }

    &:after {
      clear: both;
      content: "";
      display: table;
    }
  }

  input {
    font: inherit;
    margin: 0;
    overflow: visible;
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
  }

  [type=checkbox] {
    box-sizing: border-box;
    padding: 0;
  }

  * {
    box-sizing: border-box;
  }

  table {
    border-collapse: collapse;
    border-spacing: 0;
    display: block;
    overflow: auto;
    width: 100%;

    th {
      font-weight: 600;
    }

    tr {
      background-color: #fff;
      border-top: 1px solid #c6cbd1;

      &:nth-child(2n) {
        background-color: #f6f8fa;
      }
    }
  }

  h2 {
    font-size: 24px;
    font-size: 1.5em;
  }

  h3 {
    font-size: 20px;
    font-size: 1.25em;
  }

  h4 {
    font-size: 16px;
    font-size: 1em;
  }

  h5 {
    font-size: 14px;
    font-size: .875em;
  }

  h6 {
    font-size: 12px;
    color: #6a737d;
    font-size: .85em;
  }

  p {
    margin-bottom: 10px;
    margin-top: 0;
  }

  blockquote {
    margin: 0;
    border-left: .25em solid #dfe2e5;
    color: #6a737d;
    padding: 0 1em;

    & > :first-child {
      margin-top: 0;
    }

    & > :last-child {
      margin-bottom: 0;
    }
  }

  dd {
    margin-left: 0;
  }

  pre {
    margin-bottom: 0;
    margin-top: 0;
    word-wrap: normal;

    & > code {
      background: transparent;
      border: 0;
      font-size: 100%;
      margin: 0;
      padding: 0;
      white-space: pre;
      word-break: normal;
    }

    code {
      background-color: transparent;
      border: 0;
      display: inline;
      line-height: inherit;
      margin: 0;
      max-width: auto;
      overflow: visible;
      padding: 0;
      word-wrap: normal;
    }
  }

  li {
    word-wrap: break-all;

    & > p {
      margin-top: 16px;
    }

    & + li {
      margin-top: .25em;
    }
  }

  dl {
    padding: 0;

    dt {
      font-size: 1em;
      font-style: italic;
      font-weight: 600;
      margin-top: 16px;
      padding: 0;
    }

    dd {
      margin-bottom: 16px;
      padding: 0 16px;
    }
  }

  img[align=right] {
    padding-left: 20px;
  }

  img[align=left] {
    padding-right: 20px;
  }

  code {
    background-color: rgba(27, 31, 35, .05);
    border-radius: 3px;
    font-size: 85%;
    margin: 0;
    padding: .2em .4em;
  }

  .highlight {
    margin-bottom: 16px;

    pre {
      margin-bottom: 0;
      word-break: normal;
    }
  }
}

.markdown-body a:active,
.markdown-body a:hover {
  outline-width: 0;
}

.markdown-body code,
.markdown-body pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

.markdown-body td,
.markdown-body th {
  padding: 0;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  margin-bottom: 0;
  margin-top: 0;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 16px;
  margin-top: 24px;
}

.markdown-body h1,
.markdown-body h2 {
  font-weight: 600;
  border-bottom: 1px solid #eaecef;
  padding-bottom: .3em;
}

.markdown-body h3,
.markdown-body h4 {
  font-weight: 600;
}

.markdown-body h5,
.markdown-body h6 {
  font-weight: 600;
}

.markdown-body ol,
.markdown-body ul {
  margin-bottom: 0;
  margin-top: 0;
  padding-left: 0;
  padding-left: 2em;
}

.markdown-body ol ol,
.markdown-body ul ol {
  list-style-type: lower-roman;
}

.markdown-body ol ol ol,
.markdown-body ol ul ol,
.markdown-body ul ol ol,
.markdown-body ul ul ol {
  list-style-type: lower-alpha;
}

.markdown-body code,
.markdown-body pre {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: 12px;
}

.markdown-body input::-webkit-inner-spin-button,
.markdown-body input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
}

.markdown-body blockquote,
.markdown-body dl,
.markdown-body ol,
.markdown-body p,
.markdown-body pre,
.markdown-body table,
.markdown-body ul {
  margin-bottom: 16px;
  margin-top: 0;
}

.markdown-body ol ol,
.markdown-body ol ul,
.markdown-body ul ol,
.markdown-body ul ul {
  margin-bottom: 0;
  margin-top: 0;
}

.markdown-body table td,
.markdown-body table th {
  border: 1px solid #dfe2e5;
  padding: 6px 13px;
}

.markdown-body .highlight pre,
.markdown-body pre {
  background-color: #f6f8fa;
  border-radius: 3px;
  font-size: 85%;
  line-height: 1.45;
  overflow: auto;
  padding: 16px;
}
